<template>
  <div class="hj-image">
    <image></image>
  </div>
</template>

<script lang='ts'>
import { defineComponent, computed } from 'vue'

export default defineComponent({
  name: 'HjImage',
  props: {
    type: {
      type: String,
      default: 'text',
    },
    disabled: {
      type: Boolean,
      default: false,
    },
    readonly: {
      type: Boolean,
      default: false,
    },
  },

  setup(props) {
    const inputDisabled = computed(() => props.disabled)

    return {
      inputDisabled,
    }
  },
})
</script>
